import requests

url = 'http://httpbin.org/post'

data = {
    'key1': 'value1',
    'key2': 'value2'
}
r = requests.post(url, data=data)

print(r.text)